﻿using YJ_Core.Entities.Utils;

namespace YJ_Code.Entities.Common
{
    public class MessageInstation : BaseEntities
    {
        /// <summary>
        /// 消息id
        /// </summary>
        public string MId { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 话题id
        /// </summary>
        public string TopicId { get; set; }

        /// <summary>
        /// 消息标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 消息类型（如：系统通知、私信等）
        /// 1：系统通知
        /// </summary>
        public int MsgType { get; set; }

        /// <summary>
        /// 是否已读（0：未读，1：已读）
        /// </summary>
        public int IsRead { get; set; } = 0;
    }
}
